package GJAM.MVC;

import java.util.Vector;

public class ViewCollection{
    private Vector vector;
    
    public ViewCollection()
    {
        vector = new Vector();
    }
  
    public void addView(View view)
    {
        vector.addElement(view);
    }
    
    public View viewAtIndex(int index)
    {
        return (View)vector.elementAt(index);
    }
    
    public int size()
    {
        return vector.size();
    }
}
